package lab02.test05;

public class Circle {
    //属性：半径，周长，面积。
    double radius;
    double perimeter;
    double area;
    //
    double Perimeter() {
        perimeter = 2 * 3.14 * radius;
        return perimeter;
    }
    //
    double area(){
        area=3.14*radius*radius;
        return area;
    }
    }

